package com.example.chirdrenserver.Pojo.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.checkerframework.checker.units.qual.N;
import org.springframework.beans.factory.annotation.Value;

import java.time.LocalDateTime;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserInfoVO {
    @TableId(value = "user_id", type = IdType.AUTO)
    private Long id;

    private String email;

    @Value("user")
    private String nickname;

    @JsonIgnore
    private String password;


    @Value("没有描述")
    private String description;

    // true为男 false为女
    private Boolean sex;

    private Long fileId;

    private LocalDateTime createTime;
}
